package com.ycu.jk16.mall.domain;

import java.math.BigDecimal;

/**
 * 
 * @ClassName OrderDetail
 * @Description TODO(数据库Order_detail表的Java类)
 * @author 倪宗龙
 * @date 2018年12月8日 下午10:46:48
 * @version V1.0
 */
public class OrderDetail {
	private Order order;
	private Product product;
	private String currentProductName;
	private Integer quantity;
	private BigDecimal currentUnitPrice;

	public OrderDetail() {
		super();
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getCurrentProductName() {
		return currentProductName;
	}

	public void setCurrentProductName(String currentProductName) {
		this.currentProductName = currentProductName;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public BigDecimal getCurrentUnitPrice() {
		return currentUnitPrice;
	}

	public void setCurrentUnitPrice(BigDecimal currentUnitPrice) {
		this.currentUnitPrice = currentUnitPrice;
	}

	@Override
	public String toString() {
		return "OrderDetail [order=" + order + ", product=" + product + ", currentProductName=" + currentProductName
				+ ", quantity=" + quantity + ", currentUnitPrice=" + currentUnitPrice + "]";
	}

}
